import java.util.ArrayList;


public class LoopingStatments {

	public static void main(String[] args) {
		
		ArrayList employeesList  = new ArrayList();
		
		Employee kalyanRef  = new Employee();
		kalyanRef.grade = "G4";
		kalyanRef.name = "Kalyan";
		kalyanRef.id ="1234";
		kalyanRef.serviceYears = 3;
		employeesList.add(kalyanRef);
		
		Employee alexRef  = new Employee();
		alexRef.grade = "G2";
		alexRef.name = "Alex";
		alexRef.id ="1235";
		alexRef.serviceYears = 4;
		employeesList.add(alexRef);
		
		
		//for(intialization;evaluation; incremental )
		{
		   // statments to execute 	
		}
		
		for(int i =1;i<=10;i++) 
		{
			
			System.out.println(" Simple For loop -- :"+i);
		}
		
		for(int i =1;i<=6;i++)  
		{
			 for ( int j =1 ; j <= i; j++){
				 	System.out.print("*");
			 }
			 System.out.print("\n");
			  
		}
		
		
		
		
		// 1 - Initialization
		//2  - evaluation  - say true or false
		// 3 - execute the statements 
		//4 - increment 
		//5 -repeat 2-5 until evaluation  = false
	}
	
}
